package neo4j.entity;


import deepr.anno.Property;
import deepr.anno.Schema;
import deepr.anno.SchemaType;
import deepr.anno.Type;

@Schema(name = "Device", type = SchemaType.NEO4J)
public class Device {

    @Property(primaryKey = true)
    private String id;

    @Property
    private String name;

    @Property(name = "room", schema = Room.class, relationLabel = "At", point = Type.IN)
    private Room room;

}
